<?php
/**
 * Smarty plugin
 * 
 * $Id: modifier.shiftcat.php 121 2010-05-28 07:57:29Z Administrator $
 * $Revision: 121 $
 * $Author: Administrator $
 * $Date: 2010-05-28 07:57:29 +0000 (Fri, 28 May 2010) $
 * @package fastlib
 * @subpackage smarty
 */
/**
 * Smarty shiftcat modifier plugin
 *
 * Type:     modifier<br>
 * Name:     cat<br>
 * Date:     Feb 24, 2010
 * Purpose:  catenate a value to a variable
 * Input:    string to catenate
 * Example:  {$var|shiftcat:"foo"}
 * @link http://smarty.php.net/manual/en/language.modifier.shiftcat.php cat
 * (Smarty online manual)
 * @author   Monte Ohrt <monte at ohrt dot com>
 * @version 1.0
 * @param string
 * @param string
 * @return string
 */
function smarty_modifier_shiftcat($string, $cat) {
	return $cat . $string;
}